# Maintainer: Balló György <ballogyor+arch at gmail dot com>
# Contributor: Kevin Piche <kevin@archlinux.org>
# Contributor: Ben <contrasutra@myrealbox.com>

pkgname=xpad
pkgver=5.8.0
pkgrel=1
pkgdesc='Stickies-like notes application'
arch=('loong64' 'x86_64')
url='https://launchpad.net/xpad'
license=('GPL3')
depends=('gtksourceview4' 'libsm' 'libayatana-appindicator')
makedepends=('intltool')
source=("https://launchpad.net/$pkgname/trunk/$pkgver/+download/$pkgname-$pkgver.tar.bz2"{,.asc})
sha256sums=('d9a4efe47e0fb75bc47ef4ae4aa5ea8a3f44b51555eac9c72213fb5a6004be03'
            'SKIP')
validpgpkeys=('3930646349B9DD3886D9087392BF2FCCA6F2322B'
	      '8450BEE19B722715FFDB18C6683EAA45951FC552'
              '7FA67C1981CEE3140281AB04108E2CAA625FE5FE') # Arthur Borsboom <arthurborsboom@gmail.com>

prepare() {
  cd $pkgname-$pkgver
  ./autogen.sh
}

build() {
  cd $pkgname-$pkgver
  ./configure --prefix=/usr
  make
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install
}
